package com.cooliang.ui.base;

import com.cooliang.util.ColorUtil;

import javax.swing.*;
import javax.swing.border.Border;
import java.awt.*;

public class CTextField extends JTextField {
    public CTextField(){
        super();
        Border border = BorderFactory.createLineBorder(ColorUtil.common_gray_color);
        this.setFont(ColorUtil.text_font14);
        this.setBounds(100,30,350,30);
        this.setBorder(BorderFactory.createCompoundBorder(border,BorderFactory.createEmptyBorder(0,5,0,5)));
    }
}
